package ProcessControl;

import java.util.Scanner;

public class Demo07 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的分数");
        double d = scanner.nextDouble();
        if (d<60){
            System.out.println("不及格");
        }else if(d>=60&&d<80){
            System.out.println("及格");

        }else if (d>=80&&d<100){
            System.out.println("优秀");
        }else if (d == 100){
            System.out.println("满分");
        }else {
            System.out.println("请输入数字");
        }

        scanner.close();
    }
}
